package com.gsafety.wellsfort.exception;

import com.gsafety.wellsfort.common.util.ResultCode;
import lombok.Data;

/**
 * @author tangjiawei
 * @version 1.0
 * @date 2019/6/17 14:48
 */
@Data
public class TokenException extends RuntimeException {
    private ResultCode resultCode;

    public TokenException(ResultCode resultCode) {
        super(resultCode.getMsg());
        this.resultCode = resultCode;
    }
}
